                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            已发布收费病例列表
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <div class="dataTable_wrapper">
                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                        <tr>
                                            <th><center>{:L('is_pics')}</center></th>
                                            <th><center>{:L('diagnostic')}</center></th>
                                            <th><center>{:L('major')}</center></th>
                                            <th><center>{:L('tp')}</center></th>
                                            <th><center>{:L('pubtime')}</center></th>
                                            <th><center>操作</center></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <volist name="records" id="vo">
                                        <tr class="odd gradeX">
                                            <td><center><img src="{$vo.image}" width="50"></center></td>
                                            <td style="vertical-align: middle;"><center>{$vo['diagnostic']}</center></td>
                                            <td style="vertical-align: middle;"><center>{$vo['major']}</center></td>
                                            <td class="center" style="vertical-align: middle;"><center>{$vo['tp']}</center></td>
                                            <td style="vertical-align: middle;">
                                                <center>
                                                    {$vo.pubtime|date="Y-m-d",###}
                                                </center>
                                            </td>
                                            <td class="center" style="vertical-align: middle;">
                                                <center>
                                                    <button type="button" class="btn btn-success btn-xs" data-toggle="modal" data-target="#exampleModal" data-whatever="{$vo.id}" title="查看用户病历">
                                                        <i class="fa fa-edit"></i>
                                                    </button>
                                                </center>
                                            </td> 
                                        </tr>
                                        </volist>
                                    </tbody>
                                </table>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                {$page}
                <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                  <div class="modal-dialog">
                    <div class="modal-content">
                      <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="exampleModalLabel">New message</h4>
                      </div>
                      <div class="modal-body">
                        <form>
                          <div class="form-group">
                            <label for="recipient-name" class="control-label">Recipient:</label>
                            <input type="text" class="form-control" id="recipient-name">
                          </div>
                          <div class="form-group">
                            <label for="message-text" class="control-label">Message:</label>
                            <textarea class="form-control" id="message-text"></textarea>
                          </div>
                        </form>
                      </div>
                      <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                        <button type="button" class="btn btn-primary">Send message</button>
                      </div>
                    </div>
                  </div>
                </div>
                <script type="text/javascript">
                    $('#exampleModal').on('show.bs.modal', function (event) {
                      var button = $(event.relatedTarget) // Button that triggered the modal
                      var recipient = button.data('whatever') // Extract info from data-* attributes
                      // If necessary, you could initiate an AJAX request here (and then do the updating in a callback).
                      // Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead.
                      var modal = $(this)
                      modal.find('.modal-title').text('New message to ' + recipient)
                      modal.find('.modal-body input').val(recipient)
                    })
                </script>